package com.daka.dao;

import com.daka.entity.Activity;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activityMapper")
@SQLMapper
public interface ActivityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Activity record);

    int insertSelective(Activity record);

    Activity selectByPrimaryKey(Long id);

    List<Activity> selectByPrimaryKey1();
    List<Activity> selectByStatement(Activity record);

    int selectByStatementCount(Activity record);

    int updateByPrimaryKeySelective(Activity record);

    int selectCountByGroup(Long groupId);

}